package com.chukun.disruptor.basic;


import com.lmax.disruptor.EventHandler;

/**
 * 创建消费者的处理类
 */
public class OrderEventHandler implements EventHandler<OrderEvent> {


    @Override
    public void onEvent(OrderEvent orderEvent, long l, boolean b) throws Exception {
        System.out.println("消费者消费数据: "+orderEvent.toString());
    }
}
